package main

import "fmt"

func main() {
	//写个demo 学习go语言的逻辑运算符
	var a bool = true
	var b bool = false
	fmt.Println("a=", a, "b=", b)
	fmt.Println("a&&b", a && b)
	fmt.Println("a||b", a || b)
	fmt.Println("!a", !a)
	fmt.Println("!b", !b)
}
